<?php
$image = $_GET["image"] ?? null;
?>

<!DOCTYPE html>
<html lang="en">

<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<link rel="stylesheet" href="../main.css">
	<link rel="stylesheet" href="./main.css">
	<title>Image</title>
</head>

<style>
	img {
		display: block;
		width: 70%;
		margin: 0 auto;
		border-radius: 6px;
	}
</style>

<body>
	<a href="./index.php" class="backLink">Back to gallery</a>
	<img src="./gallery/<?php echo $image; ?>">
</body>

</html>